package com.guonl.dao;

import com.guonl.model.MyCountry;
import com.guonl.model.MyCountryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MyCountryMapper {
    long countByExample(MyCountryExample example);

    int deleteByExample(MyCountryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MyCountry record);

    int insertSelective(@Param("record") MyCountry record, @Param("selective") MyCountry.Column ... selective);

    MyCountry selectOneByExample(MyCountryExample example);

    List<MyCountry> selectByExample(MyCountryExample example);

    MyCountry selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MyCountry record, @Param("example") MyCountryExample example, @Param("selective") MyCountry.Column ... selective);

    int updateByExample(@Param("record") MyCountry record, @Param("example") MyCountryExample example);

    int updateByPrimaryKeySelective(@Param("record") MyCountry record, @Param("selective") MyCountry.Column ... selective);

    int updateByPrimaryKey(MyCountry record);

    int batchInsert(@Param("list") List<MyCountry> list);

    int batchInsertSelective(@Param("list") List<MyCountry> list, @Param("selective") MyCountry.Column ... selective);
}